package cc.autoapi.pucong.auto.flow.provider.api.entity.vo;

import cc.autoapi.pucong.auto.flow.core.root.selfenum.ApiTypeEnum;
import cc.autoapi.pucong.auto.flow.core.root.selfenum.CommonBoolenEnum;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author pucong
 * @description 接口信息 vo
 * @create 2024-09-24
 */
@Data
public class ApiInfoVo implements Serializable {

    private static final long serialVersionUID = 1L;

    private String uuid;

    private String apiName;

    private String url;

    private String groupId;
    /**
     * 服务类型 0api 1cron
     */
    private Integer serviceType;

    private ApiTypeEnum apiType;

    private String apiCode;

    private String apiCorn;
    /**
     * 周期执行下次执行时间
     */
    private Date apiCornNextTime;

    private String apiJson;

    private String apiDesc;
    /**
     * 状态 0禁用 1启用
     */
    private CommonBoolenEnum apiStatus;

    private String createBy;

    private Date createTime;

}
